#
# Be sure to run `pod lib lint TYDomainProvider.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'TYDomainProvider'
  s.version          = '1.0.1'
  s.summary          = 'A simple and powerful domain provider'
  s.homepage         = 'http://j7.hnxmny.com:8088/a/bifenwang/ios_code/TYDomainProvider'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'fly' => 'fly@itcom888.com' }
  s.source           = { :git => 'http://j7.hnxmny.com:8088/a/bifenwang/ios_code/TYDomainProvider.git', :tag => s.version.to_s }

  s.ios.deployment_target = '8.0'
  s.requires_arc = true
  s.framework = 'UIKit', 'Foundation'
  s.public_header_files = 'TYDomainProvider/Classes/TYDomainProvider.h'
  s.source_files = 'TYDomainProvider/Classes/TYDomainProvider.{h,m}'
  
  s.subspec 'TYDomainProvider' do |provider|
      provider.source_files = 'TYDomainProvider/Classes/TYDomainProvider/**/*.{h,m}'
      provider.dependency 'AFNetworking'
  end

  # s.resource_bundles = {
  #   'TYDomainProvider' => ['TYDomainProvider/Assets/*.png']
  # }
  
 end
